package com.sunlands.zlcx.usercenter.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @author anjl
 * 计时学习自习室座位信息
 */
@ApiModel(value = "计时自习室座位信息")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TimeLearnRoomSeatsVO implements Serializable {

    private static final long serialVersionUID = 7070732529671056133L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "入座时间")
    private Date seatingTime;

    @ApiModelProperty(value = "学习内容")
    private String studyContent;

    @ApiModelProperty(value = "座位号")
    private Integer num;

    @ApiModelProperty(value = "专注期间是否使用其他app 取值：1是 0否")
    private Integer useOtherApps;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}